package com.dhecp.project.logstics.mapper;

import com.dhecp.core.genericDao.GenericDao;
import com.dhecp.project.business.domain.FbaShipmentDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * DAO
 * @author Jason
 */
public interface FbaShipmentDetailMapper extends GenericDao<FbaShipmentDetail, String>  {

	/**
     * 查询实体
     * @author Jason
	 */
	List<FbaShipmentDetail> findFbaShipmentDetail(Map<String, Object> params);

	/**
     * 查询单个实体
     * @author Jason
	 */
	FbaShipmentDetail queryFirstByGuid(Map<String, Object> params);


	
	/**
	 * 新增实体
     * @author Jason
	 */
	int insertFbaShipmentDetail(FbaShipmentDetail entity);
	
	/**
	 * 通过guid修改实体
     * @author Jason
	 */
	int updateByGuid(FbaShipmentDetail entity);

	int deleteCodeShipmentOrder(@Param("code") String code);

    List<FbaShipmentDetail> queryList(Map<String, Object> params);

	List<FbaShipmentDetail> queryListCode(@Param("code") String code);

}
